home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: jlilley@ix.netcom.com (John Lilley)
- Newsgroups: comp.lang.c++
- Subject: Re: loading HTML-pages
- Date: 29 Mar 1996 16:37:00 GMT
- Organization: Netcom
- Message-ID: <4jh3jc$scq@dfw-ixnews6.ix.netcom.com>
- References: <315A3491.41C6@iiic.ethz.ch>
- NNTP-Posting-Host: den-co11-03.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: Text/Plain; charset=US-ASCII
- X-NETCOM-Date: Fri Mar 29 10:37:00 AM CST 1996
- X-Newsreader: WinVN 0.99.7
-
- >I'm just writing a program, in which I want to load a HTML-page. Does
- >anybody know, how this could be done?
-
- First you need an HTML parser, to convert the HTML input into a
- data structure that the program can understand directly. If you buy Visual
- parse++ from Sandstone technology, it has an HTML grammar as an example. I
- think that there are also SGML/HTML grammars for YACC.
-
- Once that is done, you need to interpret all of the embedded image locations
- and read the images. Once that is done, you have a (relatively simple)
- formatting/wrapping/image-display problem, although tables tend to complicate
- matters a bit. Personally, I'd try to find an HTML add-in (DLL, VBX, OCX) for
- sale and use it.
-
- Ask a general question, you get a general answer...
-
- john lilley
-
-